import React from 'react'
import { connect } from 'react-redux'

const EXCLUDE = ['/product/detail','/','/product/deduce','/order/limit'];

export default class CoreLayout extends React.Component {//对非入口的处理
  static propTypes = {
    children : React.PropTypes.element
  }
  state = {
    pending:false
  }

  render () {
    return (
      <div className="page-container">
        <div className="view-container">
          {this.props.children}
        </div>
      </div>
    )
  }
}
